package com.dys.testextends;

/**
 * @className: com.dys.testextends.TeacherChild
 * @description: 教师子类
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/07/17 下午11:09
 */
public class TeacherChild extends BasePerson {

    private int tno;

    public int getTno() {
        return this.tno;
    }

    public void setTno(int tno) {
        this.tno = tno;
    }

    public void teach() {
        System.out.println("老师教学的方法");
    }
}
